/*
 * Copyright (c) 2006-2024, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2024-12-28     RT-Thread    first version
 */

#include <rtthread.h>
#include "JpDEVICE/SYN6288/syn6288.h"
#include "JpDEVICE/ESP8266/esp8266.h"
#include "JpDEVICE/GPS_BD/gps_bd.h"
#include "JpDEVICE/ASR01/asr01.h"
#include "JpDEVICE/M100P/m100p.h"
#include "JpDEVICE/LED/led.h"
#include "JpDEVICE/KEY/key.h"
#include "JpCMN/CMN_NET/cmn_net.h"

#define DBG_TAG "main"
#define DBG_LVL DBG_LOG
#include <rtdbg.h>

/* 0:WIFI; 1:4G*/
int cm_switch = 0;

int main(void)
{
    int count = 1;

    LED_Test();
    ATK_8266_Test();
    M100P_Test();
    GPS_BD_Test();
    ASR01_Test();
    SYN6288_Test();
    KEY_Test();
    Net_Control_Test();
    while (count++)
    {

        rt_thread_mdelay(1000);
    }
    printf("this is a test\n");

    return RT_EOK;
}
